//
// Created by Administrator on 2021/5/20.
//

#include "iostream"
#include "string"
using namespace std;

int main() {
    //1.int
    int a = 0;
    cout << "please input a number:" << endl;
    cin >> a;
    cout << "number is:" << a << endl;

    //2.float
    float f1 = 0.0f;
    cout << "please input a number:" << endl;
    cin >> f1;
    cout << "number is:" << f1 << endl;

    //3.char
    char ch = 'a';
    cout << "please input a char:" << endl;
    cin >> ch;
    cout << "char is:" << ch << endl;

    //4.string
    string str1 = "hello";
    cout << "please input a string:" << endl;
    cin >> str1;
    cout << "string is:" << str1 << endl;

    //5.bool
    bool flag = false;
    cout << "please equal to bool:" << endl;
    cin >> flag;
    cout << "flag:" << flag << endl;

    system("pause");

    return 0;
}